package com.ims.entity.vo;

import java.util.List;

/**
 * @Description: pbd add 2019/9/28 14:42
 */
public class UserMenuVo {
    /**
     * 菜单id
     */
    private Integer id;
    /**
     * 菜单名
     */
    private String name;
    /**
     * 路径
     */
    private String url;
    /**
     * 是否有权限（0：有1没有）
     */
    private Integer auth;
    /**
     * 上级Id
     */
    private Integer parentId;
    /**
     * 权限标识
     */
    private String permissionKey;
    /**
     * 子菜单
     */
    private List<UserMenuVo> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAuth() {
        return auth;
    }

    public void setAuth(Integer auth) {
        this.auth = auth;
    }
    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public List<UserMenuVo> getChildren() {
        return children;
    }
    public void setChildren(List<UserMenuVo> children) {
        this.children = children;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPermissionKey() {
        return permissionKey;
    }

    public void setPermissionKey(String permissionKey) {
        this.permissionKey = permissionKey;
    }
}
